package com.wtwd.campus.hxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2021-06-29
 */
public class DeviceWhiteList implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备id
     */
    private Integer deviceId;

    /**
     * 白名单名称
     */
    private String whiteName;

    /**
     * 白名单号码
     */
    private String whitePhone;

    /**
     * 是否是亲情号码 0-不是 1-是
     */
    private Integer isAffection;

    /**
     * 序列号 只能是1-20
     */
    private Integer sequence;

    /**
     * 状态 1-正常 2-待添加 3-待删除 4-待修改
     */
    private Integer status;

    /**
     * 流水号
     */
    private String commandNumber;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getWhiteName() {
        return whiteName;
    }

    public void setWhiteName(String whiteName) {
        this.whiteName = whiteName;
    }

    public String getWhitePhone() {
        return whitePhone;
    }

    public void setWhitePhone(String whitePhone) {
        this.whitePhone = whitePhone;
    }

    public Integer getIsAffection() {
        return isAffection;
    }

    public void setIsAffection(Integer isAffection) {
        this.isAffection = isAffection;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCommandNumber() {
        return commandNumber;
    }

    public void setCommandNumber(String commandNumber) {
        this.commandNumber = commandNumber;
    }

    @Override
    public String toString() {
        return "DeviceWhiteList{" +
        "id=" + id +
        ", deviceId=" + deviceId +
        ", whiteName=" + whiteName +
        ", whitePhone=" + whitePhone +
        ", isAffection=" + isAffection +
        ", sequence=" + sequence +
        ", status=" + status +
        ", commandNumber=" + commandNumber +
        "}";
    }
}
